package com.java.manage.service.api;

import com.java.manage.dao.LicenseplateMapper;
import com.java.manage.dao.ModelMapper;
import com.java.manage.model.Brand;
import com.java.manage.model.Licenseplate;
import com.java.manage.model.Model;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class PlateApiServiceImpl implements PlateApiService{

    @Autowired
    private LicenseplateMapper licenseplateMapper;

    @Override
    public Licenseplate listAll(Integer id) {
        return licenseplateMapper.get(id);
    }

    @Override
    public List<Licenseplate> listByIds(List<Integer> id) {
        return licenseplateMapper.listByIds(id);
    }
}
